import request from '@/utils/request'

// 查询体检结果列表
export function listEntering(query) {
  return request({
    url: '/jktj/entering/list',
    method: 'get',
    params: query
  })
}

// 查询体检结果详细
export function getEntering(entId) {
  return request({
    url: '/jktj/entering/' + entId,
    method: 'get'
  })
}

// 新增体检结果
export function addEntering(data) {
  return request({
    url: '/jktj/entering',
    method: 'post',
    data: data
  })
}

// 修改体检结果
export function updateEntering(data) {
  return request({
    url: '/jktj/entering',
    method: 'put',
    data: data
  })
}

// 删除体检结果
export function delEntering(entId) {
  return request({
    url: '/jktj/entering/' + entId,
    method: 'delete'
  })
}
